solving a multi step inequality